//登录用户
export interface LoginUser {
    userName: string;
    password: string;
}

//登录校验规则
export interface LoginRules {
    userName: {
        required: boolean;
        message: string;
        trigger: string;
    }[];
    password: ({
        required: boolean;
        message: string;
        trigger: string;
        min?: undefined;
        max?: undefined;
    } | {
        min: number;
        max: number;
        message: string;
        trigger: string;
        required?: undefined;
    })[];
}